# CMake 最低版本号要求
cmake_minimum_required(VERSION 2.8)

# 项目信息
project( opencv_pic )

# opencv包
find_package( OpenCV REQUIRED )

# 指定生成目标
add_executable(opencv_pic main.cpp)

# 建立链接
target_link_libraries( opencv_pic ${OpenCV_LIBS})


